package com.mrzhou.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.mrzhou.mybatis.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * 字典实体类
 * @author qiang.zhou
 */
@Getter
@Setter
@TableName("cloud_dict")
public class Dict extends BaseEntity {

    @ApiModelProperty("字典编号")
    private String dictCode;

    @ApiModelProperty("字典父级id")
    private Long parentId;

    @ApiModelProperty("字典键")
    private String dictKey;

    @ApiModelProperty("字典值，名称")
    private String dictValue;

    @ApiModelProperty("字典排序")
    private Integer dictSort;

    @ApiModelProperty("是否默认, 1是, 0否")
    private Integer isDefault;

    @ApiModelProperty("字典状态， 0禁用， 1正常")
    private Integer status;

}
